/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package calcprj;




public class Calculadora {

    public int somar(int a, int b) {
        return a+b;
    }
    public int subtrair (int a, int b){
        return a-b;
    }
    public int multiplicar (int a, int b){
        return a*b;
    }
    
    public int dividir (int a, int b){
    return a/b;
}

    

    public double exponencial (double a, double b){
        return Math.pow(a, b);
    }

    public static void main(String[] args) {
        Calculadora calc= new Calculadora();
        int a=2;
        int b=3;
        int soma;
        soma=calc.somar(a, b);
        System.out.println("Soma:"+soma);
    }
    
}
